<%@ Page Language="C#" codefile="test.aspx.cs" Inherits="Test.test" %>
<%@ Register TagPrefix="wmx" Namespace="Microsoft.Matrix.Framework.Web.UI" Assembly="Microsoft.Matrix.Framework, Version=0.6.0.0, Culture=neutral, PublicKeyToken=6f763c9966660626" %>
<script runat="server">

    void Button1_Click(object sender, EventArgs e) {
    
    
    
        MyInsertMethod(mName.Text,mID.Text);
    
    
    
        DataGrid1.DataSource = GetCustomers();
        DataGrid1.DataBind();
    
    mName.Text = "";
    mID.Text = "";
    
    }

</script>
<html>
<head>
</head>
<body>
    <form runat="server">
        <p>
            <asp:Label id="Label6" runat="server" text="Controls Test" font-bold="True" backcolor="Silver" forecolor="Black"></asp:Label>
        </p>
        <table height="150" width="300">
            <tbody>
                <tr>
                    <td>
                        <asp:Label id="Label1" runat="server" text="ID"></asp:Label></td>
                    <td>
                        <asp:TextBox id="mID" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <asp:Button id="Button1" onclick="Button1_Click" runat="server" Text="Add"></asp:Button>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label id="Label2" runat="server" text="Name"></asp:Label></td>
                    <td valign="center">
                        <asp:TextBox id="mName" runat="server"></asp:TextBox>
                    </td>
                    <td>
                        <p>
                        </p>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                    </td>
                    <td>
                        <asp:DropDownList id="DropDownList1" runat="server" AutoPostBack="True" ></asp:DropDownList>
                    </td>
                </tr>
            </tbody>
        </table>
        <table height="150" width="300">
            <tbody>
                <tr>
                    <td>
                        <asp:DataGrid id="DataGrid1" runat="server"></asp:DataGrid>
                    </td>
                    <td>
                        <asp:DataGrid id="DataGrid2" runat="server"></asp:DataGrid>
                    </td>
                </tr>
            </tbody>
        </table>
        <table height="150" width="300">
            <tbody>
                <tr>
                    <td>
                        <asp:Label id="Label3" runat="server" text="ID"></asp:Label></td>
                    <td>
                        <asp:TextBox id="TextBox2" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label id="Label4" runat="server" text="Product"></asp:Label></td>
                    <td>
                        <asp:TextBox id="TextBox3" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label id="Label5" runat="server" text="Quantity"></asp:Label></td>
                    <td>
                        <asp:TextBox id="TextBox4" runat="server"></asp:TextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <p>
            <asp:Label id="msgLabel" runat="server" text=""></asp:Label>
        </p>
        <p>
        </p>
        <!-- Insert content here -->
    </form>
</body>
</html>